<form id="test" action="<?php echo site_url('news/insert')?>" method="post">
    <fieldset>
        <legend>添加操作</legend>
        <div class="form-row">
            <div class="field-label"><label for="title">标题</label>:</div>
            <div class="field-widget"><input name="title" id="field1" class="required" title="Enter your name" /></div>
        </div>

        <div class="form-row">
            <div class="field-label"><label for="author">作者</label>:</div>
            <div class="field-widget"><input name="author" id="field2" class="required" title="Enter your name" /></div>
        </div>

        <div class="form-row">
            <div class="field-label"><label for="content">内容</label>:</div>
            <div class="field-widget"><textarea class="required" name="content"></textarea></div>
        </div>

    </fieldset>
     <input type="submit" class="submit" value="提交" />
     <input class="reset" type="button" value="重置"  />
    </form>
